import styled from "styled-components"

export const Info=styled.div`
    padding: 10px;
    /* background: rgba(200,200,200,0.5); */
    & .discount{
        background: red;
        color: white;
        padding: 10px;
        font-size: 16px;
            font-weight: bolder;
        & div{
            font-size: 24px;
            & span{
                font-size: 14px;
            }
            & del{
                font-size: 14px;
            }
        }
    }
    & .notdiscount{
        font-size: 24px;
        font-weight: bolder;
        padding: 10px;
        color: red;
        & span{
            font-size: 14px;
        }
    }
    & .goodsname{
        padding-top: 8px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        & .title{
            width: 80%;
        }
        & .container{
            flex: 1;
            color: red;
            & .text{
                font-weight: normal;
                font-size: 14px;
                color: #777;
            }
        }
    }
    & .storename{
        font-size: 14px;
        color: #777;
        padding-top: 8px;
        & span{
            background: red;
            color: white;
            padding: 3px 5px;
            border-radius: 10px;
            font-size: 12px;
            margin-right: 5px;
        }
    }
    & .recommand{
        padding-top: 8px;
        font-size: 14px;
        & .list{
            border: 1px solid #777;
            padding: 5px;
            margin-top: 5px;
            background: rgba(200,200,200,0.5);
            & li{
                line-height: 14px;
                padding: 3px;
            }
            & span{
                display: inline-block;
                width: 14px;
                height: 14px;
                border-radius: 50%;
                color: red;
                border: 1px solid red;
                text-align: center;
            }
        }
    }
    & .postage{
        margin: 10px 0;
        padding: 8px 0;
        & span{
            color: #777;
            margin-right: 10px;
        }
    }
    & .norms ,& .place, & .server{
        padding: 10px 0;
        border-bottom: 1px solid #777;
        & span{
            color: #777;
            margin-right: 10px;
        }
    }
    & .server{
        border: none;
        display: flex;
        & div {
            width: 65px;
        }
        & li{
            list-style: disc;
        }
    }
    & .evaluate{
        margin: 10px 0;
        & .title{
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #777;
            padding: 10px 15px 10px 0;
        }
        & .list{
            padding-top: 10px;
            & .name{
                display: flex;
                
                & img{
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                }
            }
            & .time{
                font-size: 12px;
                color: #777;
            }
        }
        & .detailimg{
            padding: 8px;
        }
    }
    & .postage , .norms, .place ,.evaluate{
        position: relative;
        ::after{
            content: '';
            width: 10px;
            height: 10px;
            border-right: 1px solid #000;
            border-top: 1px solid #000;
            position: absolute;
            transform: rotate(45deg);
            right: 5px;
            top: 17px;
        }
    }
`